package com.ccrfid.rmc6.entity.sys;

import javax.persistence.*;

@Entity
@Table(name = "s_key_value")
public class KeyValueEntity {
    private String k;
    private String v;

    public KeyValueEntity() {
    }

    public KeyValueEntity(String key, String value) {
        this.k = key;
        this.v = value;
    }

    @Id
    @Column(name = "k", nullable = false)
    public String getK() {
        return k;
    }

    public void setK(String k) {
        this.k = k;
    }

    @Basic
    @Column(name = "v")
    public String getV() {
        return v;
    }

    public void setV(String v) {
        this.v = v;
    }
}
